<template>
<div>
    <p>问答</p>
    <div>{{ $route.query }}</div>
    <div>{{ $route.query.name }}</div>
    <div>{{ $route.query.age }}</div>
    <hr>

    <div>{{ $route.params }}</div>
    <div>{{ $route.params.name }}</div>
    <div>{{ $route.params.age }}</div>

</div>
</template>

<script>
export default {
  name: 'MyAsk'
}
</script>

<style>

</style>
